home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / edit / e2_v321.zip / README.4 < prev   
Text File  |  1991-03-29  |  3KB  |  80 lines

  1. March 1991
  2. ==========
  3.  
  4. This revision now handles variable screen lengths.  Thus, if you have an
  5. ANSI.SYS or equivalent which allows 43 or 60 lines, e2 can be set to
  6. use it.  This is standard for OS/2;  I don't know if someone has done
  7. it for Dos.  In my version, all you can do is reduce the no. of lines.
  8.  
  9. To use, either specify
  10.     -lines=N
  11. on the command line, or set your TERM environment as follows:
  12.     set TERM=ibmpc2.N
  13.  
  14. On an OS/2 VIO window, N will go up to 102, but it's not very useful since
  15. you have to scroll the PM window to see all of the e2 window!
  16.  
  17. Missing from the previous documents was a mention of the EFLAGS environment
  18. variable.  Here are some useful bits:
  19.  
  20.     set EFLAGS=<string>
  21. where <string> is made up from any of:
  22.     b       turn off the *!%$"!!! bell
  23.     i       default to Insert mode
  24.     l       default to LF separators rather than CR-LF
  25.     r       default to Regular expression mode
  26.     w       default to auto-Wrap mode
  27.  
  28.  
  29.  
  30.  
  31. February 1991
  32. =============
  33.  
  34.  
  35. Here is the Rand editor for the PC.  It is heavily based on the original
  36. Unix version, as are the documents, but the operation on OS/2 or Dos
  37. should be clear in most cases.
  38.  
  39. Recently, I managed to get external program operation, including the fill
  40. and justify filters, to cough into life.  The internal jiggery pokery
  41. to get this to go for both OS/2 and Dos is best glossed over :-)  however,
  42. the user should be aware of restrictions:
  43.  
  44.     a) it's heavy on file descriptors (handles).  External filters
  45.     which open lots of files may fail.
  46.  
  47.     b) programs which interact with the keyboard can cause problems.
  48.  
  49. The fill, justify and center filters should be OK.  Things like grep, if
  50. you have it, are also quite useful - e.g.
  51.  
  52.     <Mark a block>
  53.     <Esc> run grep -v zork
  54.  
  55. will remove all lines in the block containing the string "zork".
  56.  
  57. Generally, I recommend practice on unimportant data to gain confidence.
  58.  
  59. The "call" command to execute external commands and return does not yet
  60. function correctly.  Maybe one day ...  Meanwhile, the sequence
  61.     ^Z
  62.     command
  63.     e2
  64. achieves the same effect in not many more keystrokes.
  65.  
  66. This version will not drive the serial port under Dos (ctty com1:), though
  67. I have a version that does.  I may try to combine the functions in future.
  68.  
  69. Owing to formatting limitations, some of the documents contain things like
  70.  
  71.     @east@ @west@
  72.  
  73. and so forth.  These, of course, represent the cursor arrows.
  74.  
  75. Helpful comments may be addressed to
  76.  
  77.         <lmoc@ee.leeds.ac.uk>
  78.  
  79. but I cannot promise any fixes.
  80.